package com.lanxiaoye.shoppingSystem.service.impl;

import com.lanxiaoye.shoppingSystem.dao.LoggerMapper;
import com.lanxiaoye.shoppingSystem.service.LoggerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by libing on 2016/12/13.
 */
@Service
public class LoggerServiceImpl implements LoggerService {

    @Autowired
    private LoggerMapper loggerMapper;

    @Override
    public int insertLog(String log_name) {
        return loggerMapper.insertLog(log_name);
    }
}
